<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Attaching
  Date: 2016/05/19
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
<%if (session.getAttribute("hello") != null) { %>
    ${sessionScope.hello}
    ${hello}
<%} else {%>
<s:form action="hello" value="0">
    <s:textfield name="username" placeholper="请输入您的用户名"/>
    <s:submit value="提交"/>
</s:form>
<%}%>
<script>

</script>
<s:a action="hello?t=521">跳转</s:a>
</body>
</html>
